Skip to content

lesson 3 exercises#4

Open
alberto-goitia-llovo wants to merge 4 commits intohectorcanto:mainfrom
alberto-goitia-llovo:lesson3_alberto
Open

lesson 3 exercises#4
alberto-goitia-llovo wants to merge 4 commits intohectorcanto:mainfrom
alberto-goitia-llovo:lesson3_alberto

Conversation

@alberto-goitia-llovo
Copy link

No description provided.

@alberto-goitia-llovo alberto-goitia-llovo changed the title exercise 1 completed lesson 3 exercises Nov 3, 2022
Copy link
Owner

@hectorcanto hectorcanto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

salvo 2 comentarios, todo ben

- baseline consumption : CPU ___% MEM ___MB
- OS: Distro Version Codename (Ubuntu 22.04 jammy)
- Image Size: 377MB
- Container Name: postgres
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ollo con nomear o contedor igual que unha imaxe. postgres pode ser interpretado como a imaxe "postgres:latest"

docker inspect postgres:latest
docker run -d -e POSTGRES_PASSWORD='password' postgres:latest
docker exec -it 651d95b481aa bash
cat /etc/os-release No newline at end of file
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

o comando perfector para a release é cat /etc/*elease*. Hai casos como lsb-release
outro opcion /etc/issue

docker pull postgres:latest
docker image ls
docker inspect postgres:latest
docker run -d -e POSTGRES_PASSWORD='password' postgres:latest
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sempre recomendo usar nomes para os nosos contedores.

@alberto-goitia-llovo
Copy link
Author

salvo 2 comentarios, todo ben

Moi ben, graciñas pola revisión

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants